﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="MCromwell.StaffIntranet.Core.Administrator, MCromwell.StaffIntranet.Core" table="Administrator">
    <id name="Id" column="Id">
      <generator class="native" />
    </id>
    
    <component name="Credentials"
               class="MCromwell.StaffIntranet.Core.Credentials, MCromwell.StaffIntranet.Core">
      
      <property name="Username"
                column="Username"
                type="String"
                length="128"/>

      <property name="Password"
                column="Password"
                type="String"
                length="64"/>
    </component>
  </class>
</hibernate-mapping>